//
//  ActivityIndicatorView.h
//  BuyDesire
//
//  Created by Hung.Nguyen on 9/15/12.
//  Copyright (c) 2012 BuyDesire. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ActivityIndicatorView : UIView 
{
    UIActivityIndicatorView * _indicatorView;
	UILabel					* _label;
    BOOL _isFullscreen;
    CGFloat	_padding;
    BOOL isHorizontal;
}

@property(nonatomic) CGFloat padding;

- (id)initWithHorizontalActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style;
- (id)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style;
- (id)initWithFrame:(CGRect) frame activityIndicatorStyle:(UIActivityIndicatorViewStyle)style;
- (id)initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyle)style onFullScreen: (BOOL) isFullScreen;
- (void) setText: (NSString*) text;

- (void) startAnimating;
- (void) stopAnimating;
- (BOOL) isAnimating;

@end
